/* 修改系统整体样式设置 */
html, body {
  width: 100%;
  height: 100%;
  min-width: 2900px;
  min-height: 1000px;
  max-width: 3000px;
  max-height: 1080px;
  //overflow: hidden;
}

#app {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

ol-viewport {
  zoom: 1 !important;
}

.ol-control {
  display: none;
}

.ol-popup {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  min-width: 150px;
  pointer-events: auto;
}
.ol-popup:after, .ol-popup:before {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.ol-popup:after {
  border-top-color: white;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}
.ol-popup:before {
  border-top-color: #cccccc;
  border-width: 11px;
  left: 48px;
  margin-left: -11px;
}
.ol-popup-closer {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: absolute;
  top: 4px;
  right: 6px;
  z-index: 100;
  cursor: pointer;
}
.ol-popup-closer:after {
  content: "✖";
  color: #00aaff;
  font-size: 16px;
}

.stationPopup {
  .ant-tabs, .ant-tabs-content, .ant-tabs-tabpane {
    height: 100%;
  }
}

.overlayPopup {
  z-index: 1;
}
.gmap-popover {
  z-index: 100;
}

.mr-2 {
  margin-right: 0.5rem;
}

.stationWarningFlicker {
  animation: showHidden 0.4s ease infinite alternate;
}

.vectorLayerLocationIcon {
  animation: showHidden 0.65s ease infinite alternate;
}

@keyframes showHidden {
  0% { opacity: 1; }
  100% { opacity: 0; }
}
